<?php

//connect to database
$DBConnect = @mysqli_connect('hostname', 'dbname', 'password') or die('<p>The database server is not available</p>');

@mysqli_select_db($DBConnect, 'dbname') or die("<p>Database Error</p>");

?>
